﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Strategy.Core.Trade
{
    public interface IStrategy
    {
        string getTicker();
        void doBuy  (double price, int lotsize, bool isstop = false);
        void doSell (double price, int lotsize, bool isstop = false) ;
        bool isInTrade () ;
        bool isLong () ;
        bool isShort ();
        void setStop(double price);
        void clearStop ();
        int getPositionSize () ;
    }
}
